﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Projeto.Controllers
{
    public class ReservaController : Controller
    {
        //
        // GET: /Reserva/
        public ActionResult Index()
        {
            return View();
        }

        //
        // GET: /Reserva/Reservar/[vaga]
        public ActionResult Reservar(String vaga)
        {
            ViewBag.vaga = vaga;

            Dictionary<string, string> ListaVagas = new Dictionary<string, string>();
            ListaVagas.Add("Vaga 16", "160,160,270,218");
            ListaVagas.Add("Vaga 17", "165,225,270,290");

            ViewBag.Vagas = ListaVagas;

            return View();
        }
    }
}
